package array

import "soluty.cc/go/godash/internal"

func DifferenceWith(array []T, values []T, comparator func(arrVal, othVal T) bool) []T {
	// todo
	var ret []T
	for _, t := range array {
		if !internal.Contains(values, t) {
			ret = append(ret, t)
		}
	}
	return ret
}
